package com.example.huizhou.mapper;

import com.example.huizhou.bean.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
@Mapper
public interface TeacherMapper {
    List<Teacher> findAll();
    void save(Teacher teacher);
    void delete(int Id);
    String findtc(int Id);
    Teacher findls(int Id);
    void updatepsw(int Id,String psw);
    void add(int id,String name,String password,String sex,String faculty);
}
